<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp" %>


<c:forEach items="${pageModel.list}" var="myOrder">
	<li>
      	<p>订单号：<span>${myOrder.id}</span></p>
        <p>订单产品：<c:forEach items="${myOrder.opList}" var="product"><span>${product.pname}</span>&nbsp;</c:forEach>
        </p>
        <p>支付方式：<span><c:if test="${myOrder.payFrom=='01'}">线上支付</c:if><c:if test="${myOrder.payFrom=='02'}">到付</c:if></span></p>
        <p>下单时间：<span><fmt:formatDate value="${myOrder.gmtCreated}" pattern="yyyy-MM-dd" /></span></p>
        <p>订单金额：<span>￥${myOrder.totalFee}</span></p>
       	<i class="no_pay"><c:if test="${myOrder.status=='01'}">待支付</c:if> 
	<c:if test="${myOrder.status=='02'}">已支付</c:if> 
	<c:if test="${myOrder.status=='03'}">已成功</c:if> 
	<c:if test="${myOrder.status=='04'}">已完成</c:if> 
	<c:if test="${myOrder.status=='05'}">已取消</c:if></i>
    </li>
</c:forEach>
		        
	    		

